<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'executeUpdatemessage.jsp' starting page</title>
    <link href="css/admin.css" rel="stylesheet" type="text/css" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
 	<div id="main">
  	<div id="opt_list">
  <ul>
    <li><a href="util/news_control.jsp?opr=findTopics">添加新闻</a></li>
    <li><a href="util/news_control.jsp?opr=list">编辑新闻</a></li>
    <li><a href="topic_add.jsp">添加主题</a></li>
    <li><a href="ControlServlet?opr=showTopicsForModifyTopic">编辑主题</a></li>
  </ul>
</div>

  <div id="opt_area">
   <%
   		int row=(int)request.getAttribute("row");
   		String doMessage=(String)request.getAttribute("doMessage");
   		String relpath=(String)request.getAttribute("relpath");
   		if(row>0){
   	%>
   		<h2><%=doMessage %>成功</h2>
   		<input type="submit" value="确认" onclick="javascript:location.href='<%=relpath%>'"></input>
   	<%
   		}else{
   			%>
   		<h2><%=doMessage %>失败，主题重复</h2>
   		<input type="submit" value="确认" onclick="javascript:history.back()"></input>
   	<%
   		}
   		
    %>

  </div>
</div>
<div id="footer">
  <div id="site_link"> <a href="#">关于我们</a><span>|</span> <a href="#">Aboue Us</a><span>|</span> <a href="#">联系我们</a><span>|</span> <a href="#">广告服务</a><span>|</span> <a href="#">供稿服务</a><span>|</span> <a href="#">法律声明</a><span>|</span> <a href="#">招聘信息</a><span>|</span> <a href="#">网站地图</a><span>|</span> <a href="#">留言反馈</a> </div>
<div id="footer">
  <p class="">24小时客户服务热线：010-68988888  &#160;&#160;&#160;&#160; <a href="#">常见问题解答</a> &#160;&#160;&#160;&#160;  新闻热线：010-627488888<br />
    文明办网文明上网举报电话：010-627488888  &#160;&#160;&#160;&#160;  举报邮箱：<a href="#">jubao@jb-aptech.com.cn</a></p>
  <p class="copyright">Copyright &copy; 1999-2009 News China gov, All Right Reserver<br />
    新闻中国   版权所有</p>
</div>
  </body>
</html>
